body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.login-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.form-group {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-10px);
    animation: fadeInLeft 0.6s ease forwards;
    position: relative;
}

.form-group:nth-child(1) {
    animation-delay: 1s;
}

.form-group:nth-child(2) {
    animation-delay: 1.2s;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: transparent !important;
}

input::placeholder {
    color: #999;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

input:focus::placeholder {
    opacity: 0.4;
}

/* 防止浏览器自动填充样式 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #333 !important;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.4s;
}

button:hover {
    background-color: #1976D2;
}

.error-message {
    color: #f44336;
    margin-top: 10px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.error-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 确保输入框初始状态为空 */
input[type="text"], input[type="password"] {
    value: none;
}

/* 移除历史账号列表相关样式 */
.history-accounts,
.history-item,
.history-item:last-child,
.history-item:hover {
    display: none;
} 